package com.ship.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ship.system.api.model.LoginUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-12-12
 */
@Mapper
public interface UcenterMemberMapper extends BaseMapper<LoginUser> {
    List<Map<String, Object>> getAllUsersWithRoleId();

    List<Map<String, Object>> getUserByUsername(@Param("username") String username);

    List<Map<String, Object>> getAllUsersWithRoleId(String areaId);
    List<Map<String, Object>> getAllUsersWithRoleIdes(@Param("areaIds") List<String> areaIds);

    List<Map<String, Object>> getAllUsersWithRoleIds();

}
